Skip to content

incrase version number#61

Merged
HaneenT merged 2 commits into
developfrom
increase-image-tag
Mar 30, 2026
Merged

incrase version number#61
HaneenT merged 2 commits into
developfrom
increase-image-tag

Conversation

@Dert1129

@Dert1129 Dert1129 commented Mar 30, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Chores
    • Updated Docker image version for deployment pipeline.

@coderabbitai

coderabbitai Bot commented Mar 30, 2026

Copy link
Copy Markdown

Walkthrough

Updated the Docker image tag version in the GitHub Actions workflow from 1.10.0 to 1.11.0. This version bump applies to Docker image pushes made to Docker Hub on the develop branch during the build process.

Changes

Cohort / File(s) Summary
CI/CD Workflow Configuration
.github/workflows/build-gradle-project.yml
Updated IMAGE_TAG environment variable from 1.10.0 to 1.11.0 for Docker image pushes on the develop branch.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch increase-image-tag

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
.github/workflows/build-gradle-project.yml (1)

47-47: Clarify the conditional logic using != operator.

The negation syntax ${{ !steps.branch-names.outputs.current_branch == 'develop' }} is ambiguous due to operator precedence. The clearer and more conventional approach is to use the not-equal operator:

-      - name: Push to Docker Hub if branch is not develop
-        if: ${{ !steps.branch-names.outputs.current_branch == 'develop' }}
+      - name: Push to Docker Hub if branch is not develop
+        if: steps.branch-names.outputs.current_branch != 'develop'

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: fbdbe83d-deb2-419f-b992-aa2bf2fa8ad1

📥 Commits

Reviewing files that changed from the base of the PR and between 804555a and 51ff51b.

📒 Files selected for processing (1)
  • .github/workflows/build-gradle-project.yml

build-gradle-project:
env:
IMAGE_TAG: 1.10.0
IMAGE_TAG: 1.11.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Check the version declared in build.gradle

# Expected: Should show version='1.10.0' (indicating mismatch with IMAGE_TAG: 1.11.0)
rg -n "version\s*=\s*['\"]" build.gradle

Repository: KPMP/hydra-data

Length of output: 78


Update build.gradle version to match IMAGE_TAG: 1.11.0.

The IMAGE_TAG is being set to 1.11.0, but build.gradle still declares version='1.10.0'. This creates a mismatch where the Docker image tag will not match the artifact version inside the container. Update build.gradle to version='1.11.0' to keep them synchronized.

@HaneenT HaneenT merged commit c508059 into develop Mar 30, 2026
1 check passed
@HaneenT HaneenT deleted the increase-image-tag branch March 30, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants